package com.higgins.eventtracking.client.health.fundamentals;

import java.util.Date;
import java.util.List;

import com.google.gwt.core.client.GWT;
import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.event.dom.client.ClickHandler;
import com.google.gwt.user.client.rpc.AsyncCallback;
import com.google.gwt.user.client.ui.Button;
import com.google.gwt.user.client.ui.HorizontalPanel;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.ScrollPanel;
import com.google.gwt.user.client.ui.VerticalPanel;
import com.google.gwt.user.datepicker.client.CalendarUtil;
import com.higgins.eventtracking.client.EventTrackingService;
import com.higgins.eventtracking.client.EventTrackingServiceAsync;
import com.higgins.eventtracking.client.dto.HealthAlertDTO;
import com.higgins.eventtracking.client.health.components.HealthAlertColumns;
import com.higgins.eventtracking.client.health.components.HealthAlertTable;

public class SupportTab extends ScrollPanel	{
	VerticalPanel verticalPanel = new VerticalPanel();
	SupportColumns columns = new SupportColumns();
	SupportTable table = new SupportTable(columns);
	
	private boolean firstRun = true;
	
	public SupportTab()	{

	}
	
	public void update()	{
		if (firstRun)	
			initialise();
		
	}
	
	public void initialise()	{
		firstRun = false;
		verticalPanel.add(table);
		add(verticalPanel);
		setHeight("20em");
//		setWidth("100em");
	}
}
